package com.hujia.hjsurprisemeal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("order")
public class Order {
    private Integer orderId;  // 订单ID
    private Integer userId;  // 用户ID
    private List<Integer> dishIds;  // 餐品ID列表
    private Double totalAmount;  // 订单总金额
    private LocalDateTime orderTime;  // 下单时间
    private LocalDateTime createdAt;  // 记录创建时间
    private LocalDateTime updatedAt;  // 记录更新时间
}